﻿namespace Script.UI
{
    /// <summary>
    /// 存储所有的UI事件码
    /// </summary>
    public static class UIEvent
    {
        public const int START_PANEL_ACTIVE = 0; // 设置开始面板的显示
        public const int REGISTER_REALIST_PANEL_ACTIVE = 1; // 设置注册面板的显示
        public const int REFRESH_INFO_PANEL = 2; // 刷新信息面板
        public const int SHOW_ENTER_ROOM_BUTTON = 3; // 显示进入房间按钮
        public const int CREATE_PANEL_ACTIVE = 4; // 显示创建昵称面板
        public const int PLAYER_LEAVE = 5; // 玩家离开匹配房间
        public const int SET_TABLE_CARDS = 6; // 底牌显示

        public const int SET_LEFT_PLAYER_DATA = 7; // 设置左边的角色的数据
        public const int SET_RIGHT_PLAYER_DATA = 12; // 设置左边的角色的数据
        public const int SET_MY_PLAYER_DATA = 15; // she

        public const int PLAYER_READY = 8; // 角色准备
        public const int PLAYER_ENTER = 9; // 角色进入
        public const int PLAYER_CHAT = 10; // 角色聊天
        public const int PLAYER_CHANGE_IDENTITY = 11; // 更改角色身份
        public const int PLAYER_HIDE_STATE = 13; // 隐藏角色状态面板

        public const int SHOW_CRAB_BUTTON = 14; // 开始抢地主的按钮
        
        public const int SHOW_DEAL_BUTTON = 16; // 开始出牌 显示出牌按钮
        
        public const int PLAYER_HIDE_READY_BUTTON = 17; // 开始出牌 显示出牌按钮

        public const int CHANGE_MUTIPLE = 18; // 改变翻的倍数
        public const int SHOW_OVER_PANEL = 19; // 改变翻的倍数
        

        public const int PROMPT_MSG = int.MaxValue; // 用户提示
    }
}